<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>修改员工信息</title>
		<link rel="stylesheet" type="text/css" href=" admin/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href=" admin/css/admin.css" />
	</head>

	<body>
		<div class="page-content-wrap clearfix">
				<form class="layui-form" action="/editAdmin" >
					<div class="layui-tab">
						<ul class="layui-tab-title">
							<li class="layui-this">修改员工信息</li>
						</ul>
						<div class="layui-tab-content">
							<div class="layui-tab-item"></div>
							<div class="layui-tab-item layui-show">
								<div class="layui-form-item">
									<label class="layui-form-label">员工编号：</label>
									<div class="layui-input-block">
                                        <input type="hidden" value="${admin.id}" name="id">
										<input type="text" value="${admin.no}" name="no"  placeholder="请输入员工编号" required lay-verify="required"  autocomplete="off" class="layui-input">
									</div>
								</div>
								<div class="layui-form-item">
									<label class="layui-form-label">员工姓名：</label>
									<div class="layui-input-block">
										<input type="text" value="${admin.name}" name="name" placeholder="请输入员工名称" required lay-verify="required"  autocomplete="off" class="layui-input">
									</div>
								</div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">性别：</label>
                                    <div class="layui-input-block">
                                        <select name="sex" value="${admin.sex}" lay-verify="required">
                                            <option value="">请选择性别</option>
                                            <option value="男"<#if admin.sex="男">selected</#if>>男</option>
                                            <option value="女" <#if admin.sex="女">selected</#if> >女</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">员工电话：</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="${admin.telephone}" name="telephone" placeholder="请输入员工名称" required lay-verify="required"  autocomplete="off" class="layui-input">
                                    </div>
                                </div>

							</div>
						
						</div>
					</div>
					<div class="layui-form-item" style="padding-left: 10px;">
						<div class="layui-input-block">
							<button class="layui-btn layui-btn-normal" lay-submit lay-filter="formDemo">立即提交</button>
							<button type="reset" class="layui-btn layui-btn-primary">重置</button>
						</div>
					</div>
				</form>
		</div>

		<script src=" admin/layui/layui.js" type="text/javascript" charset="utf-8"></script>
		<script src=" admin/js/common.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>